package com.ctshk.rpc.localfun.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.sql.Timestamp;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_local_fun_product_sale_strategy_vaild_date")
@ApiModel(value="LocalFunProductSaleStrategyVaildDate对象", description="产品销售价格加幅有效期)")
public class LocalFunProductSaleStrategyVaildDate extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属策略")
    private Long id;

    @ApiModelProperty(value = "策略名称")
    private Long strategyId;

    @ApiModelProperty(value = "时间开始")
    private LocalDate timeBegin;

    @ApiModelProperty(value = "时间结束")
    private LocalDate timeEnd;

    @ApiModelProperty(value = "所属产品")
    private Long productId;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;
}
